<template>
  <div class="content-in">
    <div class="banner">
      <img src="@/assets/images/work/banner1.png" />
      <div class="banner-tx">
        <p class="ft48">CAREER！</p>
        <template v-if="lang === 'en'">
          <p>IF YOU WANT TO MAKE A DIFFERENCE,</p>
          <p>THE DOOR OF ZOETENG IS</p>
          <p>ALWAYS OPEN FOR YOU!</p>
        </template>
        <template v-else>
          <p>如果您想有所作为，</p>
          <p>硕腾的大门随时为您打开！</p>
        </template>
      </div>
    </div>
    <div class="main">
      <navbar></navbar>
      <img src="@/assets/images/work/activity-bg1.png" class="mt-40" />
      <div class="img-box">
        <div class="fl">
          <img src="@/assets/images/work/activity-bg2.png" />
        </div>
        <div class="fr">
          <img src="@/assets/images/work/activity-bg3.png" />
          <div class="box-row">{{ $t('work.activity.teamActivity') }}</div>
          <div class="box-row white">{{ $t('work.activity.more') }}</div>
          <img src="@/assets/images/work/activity-bg4.png" />
        </div>
      </div>
      <div class="img-box">
        <div class="fl">
          <img src="@/assets/images/work/activity-bg5.png" />
        </div>
        <div class="fr">
          <div class="box-row">{{ $t('work.activity.beach') }}</div>
          <img src="@/assets/images/work/activity-bg6.png" />
          <img src="@/assets/images/work/activity-bg7.png" />
          <div class="box-row white">{{ $t('work.activity.more') }}</div>
        </div>
      </div>
      <div class="img-box">
        <div class="fl">
          <img src="@/assets/images/work/activity-bg8.png" />
        </div>
        <div class="fr">
          <img src="@/assets/images/work/activity-bg9.png" />
          <div class="box-row">
            <p class="ft1">{{ $t('work.activity.ktv') }}</p>
            <p class="ft2">{{ $t('work.activity.cafeteria') }}</p>
          </div>
          <img src="@/assets/images/work/activity-bg-10.png" />
          <img src="@/assets/images/work/activity-bg-11.png" />
        </div>
      </div>
      <img
        :src="
          lang === 'zh'
            ? require('@/assets/images/work/activity-bg-12.png')
            : require('@/assets/images/work/activity-bg-12.jpg')
        "
        class="foot-bg"
      />
    </div>
  </div>
</template>

<script>
import { mapState } from 'vuex'
import Navbar from '../navbar'

export default {
  components: {
    Navbar,
  },
  data() {
    return {}
  },
  computed: {
    ...mapState(['lang']),
  },
  methods: {},
}
</script>

<style lang="less" scoped>
@import '~assets/var';

.content-in {
  .banner {
    display: flex;
    position: relative;

    img {
      width: 100%;
    }

    .banner-tx {
      width: 100%;
      .pd(180, 0, 0, 360);
      .ft(36);

      position: absolute;
      font-weight: bold;
      color: #fff;

      .ft48 {
        .ft(48);

        color: #949596;
      }
    }
  }
}

.main {
  .width(1200);

  margin: 0 auto;

  .mt-40 {
    display: block;
    width: 100%;
    .mg(40, 0, 0, 0);
  }

  .img-box {
    display: flex;
    .mg(20, 0, 0, 0);

    .fl {
      .width(300);
      .height(400);
      .mg(0, 20, 0, 0);
    }

    .fr {
      flex: 1;
      display: flex;
      flex-wrap: wrap;

      img {
        width: 50%;
        .height(200);

        display: block;
      }
    }

    img {
      width: 100%;
    }

    .box-row {
      width: 50%;
      .height(200);
      .lineH(200);
      .ft(24);

      background: #0261bc;
      color: #fff;
      text-align: center;
      font-weight: bold;

      &.white {
        background: #f6f7f9;
        color: #0261bc;
      }
    }

    .ft1 {
      text-align: left;
      .lineH(30);
      .pd(50, 0, 0, 48);
    }

    .ft2 {
      text-align: right;
      .lineH(30);
      .pd(50, 87, 0, 0);
    }
  }

  .foot-bg {
    width: 100%;
    .mg(54, 0, 100, 0);
  }
}
</style>
